<?php /* Smarty version 2.6.16, created on 2007-05-16 14:59:52
         compiled from /home/.batly/roamzero/Framework/Site/Peopletab/Templates/Default/templates/Sites/CpSites.tpl */ ?>
<?php if ($this->_tpl_vars['formResponse']): ?>
	<div id="formResponse"><?php echo $this->_tpl_vars['formResponse']; ?>
</div>
<?php endif; ?>

<div class="yui-gd">   

<div class="yui-u first">   
<form <?php echo $this->_tpl_vars['form']['attributes']; ?>
>
<?php echo $this->_tpl_vars['form']['hidden']; ?>

<table width="100%" id="sitesFormTable">
	<tr>
        <td valign="top">
        	<?php echo $this->_tpl_vars['form']['siteName']['label']; ?>

        </td>
	</tr>
	<tr>
        <td valign="top">
            <?php if ($this->_tpl_vars['form']['siteName']['error']): ?><span class="errorMessage">
                <?php echo $this->_tpl_vars['form']['siteName']['error']; ?>
</span><br />
            <?php endif; ?>
            <?php echo $this->_tpl_vars['form']['siteName']['html']; ?>

        </td>
	</tr>
	<tr>
        <td valign="top">
        	
            <?php echo $this->_tpl_vars['form']['URL']['label']; ?>

        </td>
	</tr>
	<tr>
        <td valign="top">
            <?php if ($this->_tpl_vars['form']['URL']['error']): ?><span class="errorMessage">
                <?php echo $this->_tpl_vars['form']['URL']['error']; ?>
</span><br />
            <?php endif; ?>
            <?php echo $this->_tpl_vars['form']['URL']['html']; ?>

        </td>
	</tr>
	<tr>
        <td  valign="top">
        	<?php echo $this->_tpl_vars['form']['rssURL']['label']; ?>

        </td>
	</tr>
	<tr>
        <td valign="top">
            <?php if ($this->_tpl_vars['form']['rssURL']['error']): ?><span class="errorMessage">
                <?php echo $this->_tpl_vars['form']['rssURL']['error']; ?>
</span><br />
            <?php endif; ?>
            <?php echo $this->_tpl_vars['form']['rssURL']['html']; ?>

        </td>
	</tr>
	<tr>
    	<td valign="top" align="center">
    	<?php echo $this->_tpl_vars['form']['btnSubmit']['html']; ?>
 <?php echo $this->_tpl_vars['form']['btnCancel']['html']; ?>

        </td>
	</tr>
</table>
</form>
</div>  

<div class="yui-u">   

<?php if ($this->_tpl_vars['sites']): ?>
<table width="100%" id="sitesTable" class="cpTable">
<?php $_from = $this->_tpl_vars['sites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item']):
?>
  <tr class="cpTableRow ">
  <td><big><b><?php echo $this->_tpl_vars['item']['siteName']; ?>
</b></big>
  <td width="25px"><big><a href="<?php echo $this->_tpl_vars['uriPath']; ?>
/<?php echo $this->_tpl_vars['request']->ownerName; ?>
/Sites/CP/edit/<?php echo $this->_tpl_vars['item']['idSite']; ?>
">Edit</a></big></td>
  <td width="25px"><big><a href="<?php echo $this->_tpl_vars['uriPath']; ?>
/<?php echo $this->_tpl_vars['request']->ownerName; ?>
/Sites/CP/delete/<?php echo $this->_tpl_vars['item']['idSite']; ?>
">Delete</a></big></td>
  </tr>
<?php endforeach; endif; unset($_from); ?>
</table>
<?php endif; ?> 
</div>  

</div>  


